package dongshi.daddy.adaptive;

import com.alibaba.dubbo.common.URL;

// 苹果种植者
public class AppleGranter implements FruitGranter {

    @Override
    public Fruit grant() {
        return new Apple();
    }

    @Override
    public String watering(URL url) {
        System.out.println("watering apple");
        return "watering finished";
    }
}